package com.example.studydemo

import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.example.studydemo.customview.TagView
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        btn_measure.setOnClickListener {
            startActivity(Intent(MainActivity@this,LayoutDemoActivity::class.java))
        }
        btn_draw.setOnClickListener {
            startActivity(Intent(MainActivity@this,DrawDemoActivity::class.java))
        }
        btn_touch.setOnClickListener {
            startActivity(Intent(MainActivity@this,TouchDemoActivity::class.java))
        }
    }
}